import request from '@/utils/request'
import {pramsToQuery} from '@/utils/index'

// 获取签到列表
export function getSignList(data) {
  return request({
    url: `/sign/sign?${pramsToQuery(data)}`,
    method: 'get',
    data
  })
}
// 获取签到详情
export function getSignDet(data) {
  return request({
    url: `/sign/${data.userId}/${data.signDate}?${pramsToQuery(data)}`,
    method: 'get',
    data
  })
}
// 签到原始信息导出
export function signExoprt(data) {
  return request({
    url: `/sign/export?${pramsToQuery(data)}`,
    method: 'get',
    data
  })
}
